$def with (records, today)
<style type="text/css">
tr td {border-bottom: 1px solid #ccc;padding: 5px;border-right: 1px solid #ccc;}
#content {margin: 0 auto; width: 700px; border: 1px solid #ccc; border-bottom: none; border-right: none}
</style>

<div id="content">
<div style="border-bottom: 1px solid #ccc"><h1 style="margin: 0;padding: 5px;">${today} : 朱珠</h1></div>

<div>
<table style="font-size: 12px; width: 700px">

$for record in records:
	$if record.active == 0:
		<tr style="background: #ececec;">
			<td style="width:20%;text-align: right">完成</td><td style="width:80%">$record.content</td>
		</tr>
	$else:
		<tr>
			<td style="width:10%;text-align: right">未完成</td><td style="width:80%">$record.content</td>
		</tr>

</table>
</div>

</div>